package com.ruoyi.common.exception.backendEnum;

public enum TasksException {

    TASK_DATA_NOT_EXIST(400,"定时任务数据不存在"),
    TASK_DATA_NOT_FOUND(400,"未查询到对应的定时任务记录数据"),
    TASK_RECORD_DATA_NOT_EXIST(400,"定时任务记录不存在"),;

    private final int code;
    private final String message;

    TasksException(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }
}

